<%-- 
    Document   : login
    Created on : 7 déc. 2011, 22:19:02
    Author     : MiniK
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login - Personnel Client</title>
    </head>
    <body>
        <h1>Connexion</h1>
        <%  if (request.getAttribute("errormsg") != null) {%>
        <div class="errmsg"><%= request.getAttribute("errormsg")%></div>
        <% }%>

        <div>
            <form action="login" method="post">

                Email <input type="text" name="email" />

                Mot de passe <input type="password" name="password" />
                <% if (request.getAttribute("targeturl") != null) {%>
                <input type="hidden" name="targeturl" value="<%= request.getAttribute("targeturl")%>" />
                <%  }%>
                <input type="submit" value="Connexion" />
            </form>
        </div>
    </body>
</html>
